/**
 * Created by chenyong on 2015/11/30.
 */

var config = require('./config');

module.exports = function(io){
    var usertag = io.of('/usertags');
    usertag.on('connection',function(socket){

        require('./service/panotag.socket').register(socket);
    });

    //用户一对一留言
    var userchat=io.of('/userchat');
    userchat.on('connection',function(socket){
        require('./service/user.socket').userchat(socket);
    });
}